package com.code.wanmi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.code.wanmi.entity.wm_user.WmSysRole;
import com.code.wanmi.entity.wm_user.WmSysUser;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author 谢晓峰
 * @since 2019-12-05
 */
public interface IWmSysUserService extends IService<WmSysUser> {
  List<WmSysUser>selectlist();

    Integer insertUser(WmSysUser user);

    WmSysUser selectUser(WmSysUser user);

    WmSysUser selectUserByUsernameAndPassword(WmSysUser user);

  Integer updateLoginIP(WmSysUser user);

  /**删除某个用户
   * **/
  boolean remove(Long userId);

  Integer updateUser(WmSysUser wmSysUser);


  WmSysUser selectUserByIdAndLoginName(WmSysUser wmSysUser);
}
